/* virtual machine */

#ifndef BFVM_H
#define BFVM_H

#include "bparser.h" 
#include "bmem.h"

#define MAXMEMSIZE 50

typedef int Mem_t;

typedef struct RuntimeEnvironment{
	Mem_t *memory;
	int mp;	/* memory pointer */
}RE;

void execute(Proto* p);

#endif	/* BFVM_H */
